package cn.iocoder.an.module.mold.controller.admin.drawingno.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 模具图号新增/修改 Request VO")
@Data
public class DrawingNoSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19886")
    private Long id;

    @Schema(description = "图号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "图号不能为空")
    private String drawingNo;

    @Schema(description = "客户名")
    private String customer;

    @Schema(description = "模具类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7480")
    @NotNull(message = "模具类型id不能为空")
    private Long categoryId;

    @Schema(description = "保养类型id", example = "25892")
    private Long upkeepId;

    @Schema(description = "复检类型id", example = "18494")
    private Long recheckId;

    @Schema(description = "寿命扣减方式id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22631")
    @NotNull(message = "寿命扣减方式id不能为空")
    private Integer lifeDeductionId;

    @Schema(description = "库存状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "库存状态不能为空")
    private Integer inventoryStatus;

    @Schema(description = "仓库id", example = "12345")
    private Long warehouseId;

    @Schema(description = "储位id", example = "16719")
    private Long storageId;

    @Schema(description = "设备id", example = "22734")
    private Long devId;

    @Schema(description = "入库人员id", example = "10806")
    private Long warehouseInPersonId;

    @Schema(description = "入库时间")
    private LocalDateTime warehouseInTime;

    @Schema(description = "出库人员id", example = "16511")
    private Long warehouseOutPersonId;

    @Schema(description = "出库时间")
    private LocalDateTime warehouseOutTime;

    @Schema(description = "描述", example = "你猜")
    private String description;

}